package models;

import constant.EnumBaseInterface;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

/**
 * 流请求实体
 */
@Data
public class AsyncFlowRequest {
    //异步流唯一号
    private String BusinessSerialId;
    //异步流请求参数
    private Object NodeRequest;
    //异步流操作模块
    private EnumBaseInterface AsyncFlowModuleEnum;
    //异步流操作节点
    private EnumBaseInterface AsyncFlowNodeEnum;
    //异步流操作人名称
    private String OperateName;
    //异步流操作人工号
    private String OperateNo;
    //请求来源描述
    private String SourceDes;
    //请求时间
    private LocalDateTime requesterTime = LocalDateTime.now();
    //请求参数 K-V形式
    private Map<String, String> Params = new HashMap<>();
}
